<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>美策平台</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="../datepicker/jquery-ui.min.css">
    <link type="text/css" rel="stylesheet" href="../css/app.css"/>
    <link type="text/css" rel="stylesheet" href="../css/loginMobile.css"/>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script src="../datepicker/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/pc/js/all.js"></script>
</head>
<body id="Ibody">
<!--
	制作：九哥
	页面：公司有工厂
-->




<!-----------资料完善---------->
<div class="stepTwo" id="IstepTwo">
    <div class="identity">公司资料完善</div>
    <div class="identityDiv"></div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(1)">基本信息（必填）</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(2)">公司认证</div>
    </div>
    <div class="identityDiv fac" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(3)">工厂类型</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(4)">公司产品</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(5)">产品风格</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(6)">产品种类</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(7)">款式数量</div>
    </div>
    <div class="identityDiv fac" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(8)">生产设备</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(9)">产量产能</div>
    </div>
    <div class="identityDiv fac" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(10)">原料面料</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;">
        <div class="identityItem" onclick="setJump(11)">公司环境</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;display:none;" id="toHome">
        <div class="identityItem"
             onclick="window.location.href = '/h5/index.html';"
             style="color:#fff;background:#0088cc;"
        >回到首页</div>
    </div>
    <div class="identityDiv" style="margin:5px 0;display:none;" id="toMy">
        <div class="identityItem"
             onclick="window.location.href = '/h5/index.html';"
             style="color:#fff;background:#0088cc;"
        >回到首页</div>
    </div>
    <div class="identityDiv"></div>
</div>
<!-----------资料完善---------->





<!-----------提示信息---------->
<div id="errMsg"></div>
<!-----------提示信息---------->
</body>
<script type="application/javascript" src="../js/app.js"></script>
<script type="application/javascript">
    (function(){
        var userInfo = cacheGet('userInfo'); //获取用户信息
        //console.log(userInfo);
        var fac = $('.fac');
        if (userInfo.type==2) {
            fac.hide();
        } else {
            fac.show();
        }
        //判断上游
        var type = getUrlParam('type');
        if (type=='edit') {
            $('#toMy').show();
        } else {
            $('#toHome').show();
        }
    })();
    function setJump(v){
        if (v==0) { getAppErrMsg('点击错误','',0); }
        var linkArr = [
            '',
            'company',
            'comFile',
            'comFacType',
            'comPro',
            'comStyle',
            'comProType',
            'comDesign',
            'comEquip',
            'comYield',
            'comFabric',
            'comEnv'
        ];
        window.location.href = '/h5/login/' + linkArr[v] + '.html';
    }
    /**
     * 本地缓存，获取
     * */
    function cacheGet(key){
        //return localStorage.getItem(key);
        return JSON.parse(localStorage.getItem(key));
    }
</script>
</html>